//
//  HeYueTableViewCell.m
//  大股票
//
//  Created by apple on 2019/9/5.
//  Copyright © 2019 apple. All rights reserved.
//

#import "HeYueTableViewCell.h"
#import "HHYLocalApplyPZModel.h"
#import "HHYUtils.h"

@implementation HeYueTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setApplyModel:(HHYLocalApplyPZModel *)applyModel {
    _applyModel = applyModel;
    self.dateLabel.text=[HHYUtils getCurrentTimeWithNum:applyModel.createTime];
    self.benjinLabel.text=[NSString stringWithFormat:@"本金：%@",applyModel.tzbj];
    self.guanlifeiLabel.text=[NSString stringWithFormat:@"管理费：%@",applyModel.glf];
    self.peizizijinLabel.text=[NSString stringWithFormat:@"配资资金：%@",applyModel.pzzj];
    self.gongzhifuLabel.text=[NSString stringWithFormat:@"共支付：%.2f元",[applyModel.tzbj floatValue]+[applyModel.glf floatValue]];
}

@end
